package com.isoftstone.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.isoftstone.pojo.Notice;

public interface NoticeService extends IService<Notice> {
    //分页查询通知
    Page queryAllNotices(Integer currentPage, Integer pageSize, String title);
    //添加通知
    boolean insertNotice(Notice notice);
    //修改通知
    boolean updateNotice(Notice notice);
    //删除通知
    boolean deleteNotice(Integer id);
}
